<table class="table b-light m-b-xxs">
	<thead class="table-header" >
	<tr>
		<th width="5%" class="font-15 text-center">
			<label class="i-checks m-b-none"><input type="checkbox" ng-model="operation.selectAll1" ng-click="chooseAll1()"><i></i></label>
		</th>
		<th width="15%" class="font-15 text-center">名称</th>
		<th width="10%" class="font-15 text-center">IP</th>
		<th width="20%" class="font-15 text-center">机房</th>
		<th width="20%" class="font-15 text-center">机柜</th>
		<th width="15%" class="font-15 text-center">型号</th>
		<!--<th class="text-center">拥有者</th>-->
		<!--<th class="text-center">是否可用</th>-->
		<th width="15%" class="font-15 text-center">操作</th>
	</tr>
	</thead>
	<tbody>
	<tr ng-repeat="(key,row) in serverListData" ng-if="!isImageData">
		<td width="5%" class="font-15 text-center">
			<label class="i-checks m-b-none"><input type="checkbox" ng-model="row.isSelect" ng-click="choose1()"><i></i></label>
		</td>
		<td width="15%" class="font-15 text-center text-info text-overflow detail-href" style="max-width:162px;"  ng-bind="row.name" ng-click="detail($event,row.id)"></td>
		<td width="10%" class="font-15 text-center text-overflow" style="max-width:108px;" ng-bind="row.managerIp||row.serviceIp"></td>
		<td width="20%" class="font-15 text-center text-overflow" style="max-width:214px;" ng-bind="row.roomname"></td>
		<td width="20%" class="font-15 text-center text-overflow" style="max-width:214px;" ng-bind="row.rackname"></td>
		<td width="15%" class="font-15 text-center text-overflow" style="max-width:161px;" ng-bind="row.version"></td>
		<!--<td class="text-center" ng-bind="row.tenantName"></td>-->
		<!--<td class="text-center" ng-bind="row.tenantId|infrastructure"></td>-->
		<td width="15%" class="font-15 text-center">
			<div class="btn-group dropdown table-operation" dropdown="">
				<a class="btn btn-info btn-addon" dropdown-toggle=""><i class="fa fa-reorder" ></i>操作</a>
				<ul class="dropdown-menu">
					<li ng-if="row.status == 'STOPPED'" ng-click="commendAction(row,1)"><a href="">启动</a></li>
					<li ng-if="row.status == 'RUNNING'||row.status == 'EXCEPTION'" ng-disabled="row.status == 'EXCEPTION'" ng-click="commendAction(row,2)"><a href="">停止</a></li>
					<li ng-click="goAction(2,row.id)"><a href="">编辑</a></li>
					<li ng-click="delServer(row)" ><a href="">删除</a></li>
				</ul>
			</div>
			<!--<div class="btn-group dropdown table-operation" dropdown="">-->
				<!--<a class="btn btn-info btn-addon" dropdown-toggle=""><i class="fa fa-reorder" ></i>操作</a>-->
				<!--<ul class="dropdown-menu">-->
					<!--<li ng-click="recover(row.id)"><a href="">回 收</a></li>-->
					<!--<li ng-click="allocate(row.id)" ><a href="">分 配</a></li>-->
				<!--</ul>-->
			<!--</div>-->
		</td>
	</tr>
	<tr ng-if="isImageData">
		<td class="td-nodata" colspan="6"></td>
	</tr>
	</tbody>
</table>
<div class="clearfix">
	<div class="col-sm-6">
		<div class="paginationTables_info">共有<span ng-bind="$parent.totalCount"></span>条记录，每页显示<span
				ng-bind="param.rows"></span>条
		</div>
	</div>
	<div class="col-sm-6 text-right">
		<pagination boundary-links="true" total-items="$parent.totalCount" items-per-page="param.rows" max-size="10"
		            ng-model="param.page" ng-change="getList(param.page)" previous-text="&lsaquo;"
		            next-text="&rsaquo;" first-text="&laquo;" last-text="&raquo;"></pagination>
	</div>
</div>